﻿<?php
            
       
            $obj=new mysql($config);


            $sql="select * from `role`";

            $arr=$obj->getCondition($sql);


            if(!empty($_SERVER['HTTP_X_REQUESTED_WITH'])){
                  echo json_encode($arr);
                  die;
            }




            require_once (VIEW_PATH.'admin/layout.html');